$OpenBSD: patch-display_c,v 1.1 2017/05/07 17:46:24 espie Exp $

Index: display.c
--- display.c.orig
+++ display.c
@@ -203,7 +203,7 @@ void redraw_screen(bell,maxmoves,num,score,nf,diamonds
     move(1,48);
     (void) addstr("\tFound\tTotal");
     move(3,48);
-    (void) sprintf(buffer,"%d\t %d\t %d  ",score,nf,diamonds);
+    (void) sprintf(buffer,"%ld\t %d\t %d  ",score,nf,diamonds);
     (void) addstr(buffer);
     if(! edit_mode) {
         move(6,48);
